package com.fish.passport.po;

import java.io.Serializable;
import java.util.Date;

import com.fish.vo.PassportConstant;

public class PassDevice implements Serializable {
	private static final long serialVersionUID = -8853054891248933909L;
	private String deviceId;
	private String targetId;
	private String deviceNo;
	private String memo;
	private String targetName;
	private Integer providerId;
	private String providerName;
	private Date createDate;
	private String deviceType;
	private Long beginItem;
	private Long endItem;
	public Integer getProviderId() {
		return providerId;
	}

	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceNo() {
		return deviceNo;
	}

	public void setDeviceNo(String deviceNo) {
		this.deviceNo = deviceNo;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}


	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}
	public boolean isNewDevice(){
		return PassportConstant.PASSCODE_DEVICE_TYPE.NEW_DEVICE.name().equalsIgnoreCase(this.deviceType);
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public Long getBeginItem() {
		return beginItem;
	}

	public void setBeginItem(Long beginItem) {
		this.beginItem = beginItem;
	}

	public Long getEndItem() {
		return endItem;
	}

	public void setEndItem(Long endItem) {
		this.endItem = endItem;
	}


}
